package com.yegs.hospital.dao;

import com.yegs.hospital.vo.WxUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@ResponseBody
public interface UserDao extends JpaRepository<WxUser,Long> {


    WxUser findWxUserByUnionId(String unionId);

    WxUser findWxUserByOpenId(String openId);



}
